package com.ymtms.settlement.dao;

import com.ymtms.settlement.pojo.CollectionBusinessParameters;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectionBusinessParametersMapper {

    /*int updateInfo(CollectionBusinessParameters collectionBusinessParameters);

    int insertCbp(CollectionBusinessParameters collectionBusinessParameters);

    int deleteByCbpid(Integer cbpid);



    int updateStatusByCbpid(@Param("cbpid") Integer cbpid, @Param("status") Integer status);
*/
    List<CollectionBusinessParameters> selectAllCbp();

    CollectionBusinessParameters selectBytype(@Param("type") String type);

    int deleteByPrimaryKey(Integer cbpid);

    int insert(CollectionBusinessParameters record);

    int insertSelective(CollectionBusinessParameters record);

    CollectionBusinessParameters selectByPrimaryKey(Integer cbpid);

    int updateByPrimaryKeySelective(CollectionBusinessParameters record);

    int updateByPrimaryKey(CollectionBusinessParameters record);


}